from django.db import models

class Category(models.Model):
	Category_name=models.CharField(max_length=10)

class Post(models.Model):
	title = models.CharField(max_length=100)
	def __unicode__(self):
		return self.title
	body = models.TextField()
	created = models.DateTimeField()
	category=models.ForeignKey(Category)
	
	
class AboutMe (models.Model):
	body = models.TextField()
	
class MySites(models.Model):
	body=models.TextField()
	
class CloseBlog(models.Model):
	body = models.TextField()